package com.youlai.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.system.model.entity.Role;
import com.youlai.system.model.form.MyRoleForm;
import com.youlai.system.model.query.RoleQuery;
import com.youlai.system.model.vo.RoleVO;

import java.util.List;

public interface RoleService extends IService<Role> {
    Page<RoleVO> getRoelPage(RoleQuery queryParams);

    Integer saveRole(MyRoleForm formData);

    boolean deleteByIds(String ids);

    MyRoleForm getRoleForm(Long id);



    List getLIstRole();

    Integer insertPermIds(Integer id,String permIds);
}
